Package com.cisco.pt.ipc.sim.impl
Class HostIpv6Impl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.HostIpv6Impl
Information provided by the PKI file:
\class HostIp
\brief HostIp handles and manipulates the default gateway on end devices.
\example network().getDevice("PC0").getProcess("HostIpProcess")
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionHostIpv6Impl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionInformation provided by the PKI file:voidsetDefaultGateway(IPV6Address gatewayIp) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
HostIpv6Impl
public HostIpv6Impl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
setDefaultGateway
Information provided by the PKI file:
\brief Sets the default gateway with the specified IP address. \param gatewayIp, the IP address of the gateway.- Specified by:
setDefaultGatewayin interfaceHostIpv6- Parameters:
gatewayIp- Takes in a parameter of gatewayIp
-
getDefaultGateway
Information provided by the PKI file:
\brief Returns the IP address of the default gateway. \return ip, the IP address of the default gateway.- Specified by:
getDefaultGatewayin interfaceHostIpv6- Returns:
- IPV6Address Returns a IPV6Address
-